﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	xmlns:local="clr-namespace:System8ToyMC"
	xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" xmlns:Behaviors="clr-namespace:Behaviors;assembly=Behaviors"
	x:Class="System8ToyMC.AlphaUC"
	d:DesignWidth="640" d:DesignHeight="480">

	<Grid x:Name="LayoutRoot">
		<TextBlock x:Name="TBName" HorizontalAlignment="Left" VerticalAlignment="Top" Text="{Binding AlphaName, Mode=OneWay}" TextWrapping="Wrap"/>
		<StackPanel HorizontalAlignment="Left" VerticalAlignment="Top" Margin="23,20,0,0">
			<local:NamedValue x:Name="NVAlphaB" Margin="0" d:LayoutOverrides="Width" ValueName="alpha b:" HorizontalAlignment="Right" Value="{Binding AlphaValue.alpha_b, Mode=TwoWay, UpdateSourceTrigger=Default}" ReadOnly="True">
				<i:Interaction.Behaviors>
					<Behaviors:DragUIElementImageBehavior/>
				</i:Interaction.Behaviors>
			</local:NamedValue>
			<local:NamedValue x:Name="NVAlphaC" ValueName="alpha c:" HorizontalAlignment="Right" Value="{Binding AlphaValue.alpha_c, Mode=TwoWay, UpdateSourceTrigger=Default}" ReadOnly="True">
				<i:Interaction.Behaviors>
					<Behaviors:DragUIElementImageBehavior/>
				</i:Interaction.Behaviors>
			</local:NamedValue>
			<local:NamedValue x:Name="NVAlphaL" ValueName="alpha l:" HorizontalAlignment="Right" Value="{Binding AlphaValue.alpha_l, Mode=TwoWay, UpdateSourceTrigger=Default}" ReadOnly="True">
				<i:Interaction.Behaviors>
					<Behaviors:DragUIElementImageBehavior/>
				</i:Interaction.Behaviors>
			</local:NamedValue>
			<local:NamedValue x:Name="TBAlphaCL" Value="{Binding Alpha12Value.Value, Mode=OneWay}" ReadOnly="True" ValueName="alpha cl:">
				<i:Interaction.Behaviors>
					<Behaviors:DragUIElementImageBehavior/>
				</i:Interaction.Behaviors>
			</local:NamedValue>
		</StackPanel>
	</Grid>
</UserControl>